package cn.tjie;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication//springBOOt的应用程序
@MapperScan("cn.tjie.*.mapper")//扫描mapper包
//扫描监听器所在的包
@ServletComponentScan(value = "cn.tjie.basic.listener")
public class App {
	public static void main(String[] args) {
		SpringApplication.run(App.class);//spring的应用程序运行要依赖App这个类
	}
}
